package com.ruoyi.web.course.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import java.util.List;
        import com.ruoyi.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.web.course.mapper.TrainVideoMapper;
import com.ruoyi.web.course.domain.TrainVideo;
import com.ruoyi.web.course.service.ITrainVideoService;

/**
 * 视频Service业务层处理
 *
 * @author 范书铭
 * @date 2024-10-09
 */
@Service
public class TrainVideoServiceImpl extends ServiceImpl<TrainVideoMapper, TrainVideo> implements ITrainVideoService {
    @Autowired
    private TrainVideoMapper trainVideoMapper;


    /**
     * 查询视频列表
     *
     * @param trainVideo 视频
     * @return 视频
     */
    @Override
    public List<TrainVideo> selectTrainVideoList(TrainVideo trainVideo) {
        return trainVideoMapper.selectTrainVideoList(trainVideo);
    }
}